import http from "@/utils/http";

export class PayInfoApi {
   /** 添加支付信息 */
   static readonly Create = (params: PayInfo.Create) => http.post("/api/payInfo/create", params);

   /** 取消缴费信息 */
   static readonly Delete = (params: PayInfo.Delete) => http.post("/api/payInfo/delete", params);

   /** 编辑缴费信息 */
   static readonly Update = (params: PayInfo.Update) => http.post("/api/payInfo/update", params);

   static readonly Search = (params: PaginationSearch<PayInfo.Search>) => http.get("/api/payInfo/search", params);

   static readonly SearchOne = (params: PayInfo.SearchOne) => http.get("/api/payInfo/SearchOne", params);

   /** 获取导出列 */
   static readonly ExportCol = () => http.get<PayInfo.ExportColResult[]>("/api/payInfo/exportCol");

   /** 导出数据 */
   static readonly Export = (params: PayInfo.Export) => http.post("/api/payInfo/export", params);
}
